class PasswordReminder < ActionMailer::Base

  def remind(user_, new_password_)
    @subject    = "Fieldtrip - password reset"
    @body       = {"user" => user_, "new_password" => new_password_}
    @recipients = user_.email
    @from       = "admin@fieldtrip.com"
    @sent_on    = Time.now
    @headers    = {}
  end
end